package cn.wolfcode.business.domain;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class BusAudit {

    public static final Integer FLOW_AUDIT_TYPE = 0;//服务套餐审核类型
    public static final Integer STATUS_IN_PROGRESS = 0;//审核中
    public static final Integer STATUS_REJECT = 1;//审核拒绝
    public static final Integer STATUS_PASS = 2;//审核通过
    public static final Integer STATUS_CANCEL = 3;//审核撤销
    //主键
    private Long id;
    //服务单项id
    private Long serviceItemId;
    //服务项名称
    private String serviceItemName;
    //服务单项备注
    private String serviceItemInfo;
    //服务单项审核价格
    private BigDecimal serviceItemPrice;
    //流程实例id
    private String instanceId;
    //创建者
    private String creatorId;
    //备注
    private String info;
    //状态【审核中0/审核拒绝1/审核通过2/审核撤销3】
    private Integer status;
    //创建时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
}
